package com.dynamic.mybatisplus.seata;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 添加 VM 参数：--add-opens java.base/java.lang=ALL-UNNAMED
 *
 * @author lenovo
 */
@MapperScan(basePackages = {"com.dynamic.mybatisplus.seata.mapper.goodsdb", "com.dynamic.mybatisplus.seata.mapper.orderdb"})
@SpringBootApplication
public class SeataDynamicMybatisPlusApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeataDynamicMybatisPlusApplication.class, args);
    }
}
